# 输出该股票所有收盘比开盘上涨3%以上的日期
import pandas as pd

df = pd.read_csv('./files/history_A_stock_k_data.csv')

df['other'] = (df['close'] - df['open']) / df['open']
df['others'] = (df['close'] - df['open']) / df['open']

c = df['other'] >= 0.03
d = df['others'] >= 0.1
# print(df[c])
print(df[d])
